package edu.suse.mapper;
import edu.suse.entity.SysUser;

import java.util.List;

public interface  SysUserMapper {

    /**
     * 根据用户名称查询用户信息
     * @param username
     * @return
     */
    SysUser findSysUserByUsername(String username);
    SysUser addSysUser(SysUser su);
    SysUser editSysUser(SysUser es);
    SysUser deleteSysUserById(int id);
    SysUser findSysUserById(int id);
    List<SysUser> querySysUserList();
}
